package com.angel.service;

import java.util.List;
import java.util.Map;

import com.angel.bean.Prescription;
public interface PrescriptionService{

    int insert(Prescription prescription);

    int insertSelective(Prescription prescription);

    int insertList(List<Prescription> prescriptions);

    int update(Prescription prescription);

    Prescription findon(Prescription prescription);

    List<Prescription> findAll(Prescription prescription);

    Map deailPres(Prescription prescription) throws Exception;

    List<Prescription> getPrescriptionByUserId(Integer userId,Integer status);
}
